package com.delu.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 积分成长值表
 * </p>
 *
 * @author author
 * @since 2021-12-23
 */

@TableName("integral_experience")
@ApiModel(value="IntegralExperience对象", description="积分成长值表")
public class IntegralExperience implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户ID")
    @TableId(value = "user_id")
    private Long userId;

    @ApiModelProperty(value = "成长值")
    private Long experience;

    @ApiModelProperty(value = "积分")
    private Long integral;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }
    public Long getExperience() {
        return experience;
    }

    public void setExperience(Long experience) {
        this.experience = experience;
    }
    public Long getIntegral() {
        return integral;
    }

    public void setIntegral(Long integral) {
        this.integral = integral;
    }

    public IntegralExperience(Long userId, Long experience, Long integral) {
        this.userId = userId;
        this.experience = experience;
        this.integral = integral;
    }

    public IntegralExperience() {
    }

    @Override
    public String toString() {
        return "IntegralExperience{" +
            "userId=" + userId +
            ", experience=" + experience +
            ", integral=" + integral +
        "}";
    }
}
